﻿@model PrjctMngmt.Models.TaskCategory

@using (Html.BeginForm("Create", "TaskCategory", FormMethod.Post, new { id = "TaskCategoryForm" })) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Task category</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

    </fieldset>
}
